<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
	<title>Spring-4 + Struts-3 + MyBatis Integration Demo</title>
	<style type="text/css">
	li {margin-bottom:20px;font-size:25px;}
	.loginMessage
	{
		color: #FF00FF;
	}
	</style>
</head>
<body>
<h2>Spring-4 + Struts-2 + MyBatis Integration Demo</h2>
<s:fielderror></s:fielderror>
<s:form method="post" action="studentSearch">
		<span
			style="position: absolute; right: 25px">
			<input type=button onclick="window.location.href='<s:url action="logoutAction"/>'" value ="ログアウト"> 
		</span>
		<h3>メインメニュー</h3>
		<hr size="2" style="border:thin dashed #008080">
		<p class= "loginMessage"><s:property value="#session.loginMessage"/></p>
		<div>
			<ol>
				<li><a href="<s:url action="studentRegister"/>">学生情報新規登録 (*)</a></li>
				<li><a href="<s:url action="studentSearch"/>">学生情報検索 (*)</a></li>
				<li><a href="<s:url action="studentDelete"/>">学生情報削除</a></li>
				<li><a href="<s:url action="studentUpdate"/>">学生情報更新</a></li>
				<li><a href="javascript:;" onclick="window.open('about:blank','_self').close();">閉じる</a></li>
			</ol>
		</div>
</s:form>
</body>
</html>